//
// Created by Zhangwj on 2023/9/26.
//

#ifndef COMPILE_TASK2_CONSTEXPNODE_H
#define COMPILE_TASK2_CONSTEXPNODE_H


#include "SyntaxTreeNode.h"
#include "../Parser.h"

class ConstExpNode : SyntaxTreeNode {
public:
    // ConstExp → AddExp
    std::unique_ptr<AddExpNode> AddExp;

    static std::unique_ptr<ConstExpNode> ConstExpParser(Parser &parser);
};


#endif //COMPILE_TASK2_CONSTEXPNODE_H
